package com.wechat.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wechat.admin.model.dto.AssignmentDeviceDto;
import com.wechat.admin.model.entity.TokenGroupLink;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author dell
* @description 针对表【token_group_link】的数据库操作Mapper
* @createDate 2024-12-19 15:09:54
* @Entity generator.domain.TokenGroupLink
*/
@Mapper
public interface TokenGroupLinkMapper extends BaseMapper<TokenGroupLink> {

    List<AssignmentDeviceDto> getAssignmentDevice();

    // 分页查询设备信息
    List<AssignmentDeviceDto> getAssignmentDevicePage(@Param("pageSize") int pageSize,
                                                @Param("offset") int offset);

    long countAssignmentDevice();
}




